﻿namespace Cap
{
    public interface IEventSourceProvider
    {
        event EventHandler<ICloudEvent>? Received;
        Task StartAsync(CancellationToken cancellationToken);
        Task StopAsync(CancellationToken cancellationToken);
    }
}
